import $axios from '@/utils/request'

export const getTopList = () => {
  return $axios({
    url: '/api/getTopList',
    method: 'get'
  })
}

export const getTopDetail = params => {
  return $axios({
    url: '/api/getTopDetail',
    method: 'get',
    params
  })
}
